<template>
    <el-table

              :data="permissionStore.currentRolePermission"
              style="width: 100%; margin-bottom: 20px"
              row-key="id"
              border
              default-expand-all>
        <el-table-column align="center" type="selection"></el-table-column>
        <el-table-column align="center" prop="id" label="id" />
        <el-table-column align="center" prop="desc" label="权限名称">
            <template #default="{ row }">
                <el-tag size="large">{{ row.desc }}</el-tag>
            </template>
        </el-table-column>
        <el-table-column align="center" prop="path" label="权限路径" />
        <el-table-column align="center" prop="method" label="请求方式" />
    </el-table>
</template>

<script setup>
//引入当前角色权限store

import usePermissionStore from "@/store/permission"

let permissionStore = usePermissionStore()




</script>